/**
 * Created by minigci.he on 16/9/19.
 */
let arrayLike = {
    '0': 'a',
    '1': 'b',
    '2': 'c',
    '3': 'f',
    length: 3

}

var arr1 = [].slice.call(arrayLike);
console.log(arr1);
let arr2 = Array.from(arrayLike)
console.log(arr2);